<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 2. console.log(a)
        // var a = 100
        // console.log(a)

        // function person(name) { // 声明函数
        //     age = 20
        //     console.log(name, age)
        //     var age
        // }
        // person('man')

        // 上述代码执行后，输出什么

        // undefined 100 man 20

        console.log(undefined, 100, 'man', 20);
    </script>
</body>

</html>